package net.zwj.model.oracle;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "ORACLE_TAB")
public class OracleModel implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3587592251267355586L;

	@Id
	@Column(name = "ID", length = 15)
	private Long id;

	@Column(name = "NAME", length = 255)
	private String name;

	@Column(name = "NUM")
	private Integer num;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

}